﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000110 RID: 272
	[Serializable]
	public class UserLutModel : PostProcessingModel
	{
		// Token: 0x170000E5 RID: 229
		// (get) Token: 0x0600050B RID: 1291 RVA: 0x00027E31 File Offset: 0x00026031
		// (set) Token: 0x0600050C RID: 1292 RVA: 0x00027E39 File Offset: 0x00026039
		public UserLutModel.Settings settings
		{
			get
			{
				return this.m_Settings;
			}
			set
			{
				this.m_Settings = value;
			}
		}

		// Token: 0x0600050D RID: 1293 RVA: 0x00027E42 File Offset: 0x00026042
		public override void Reset()
		{
			this.m_Settings = UserLutModel.Settings.defaultSettings;
		}

		// Token: 0x0400071F RID: 1823
		[SerializeField]
		private UserLutModel.Settings m_Settings = UserLutModel.Settings.defaultSettings;

		// Token: 0x02000111 RID: 273
		[Serializable]
		public struct Settings
		{
			// Token: 0x170000E6 RID: 230
			// (get) Token: 0x0600050E RID: 1294 RVA: 0x00027E50 File Offset: 0x00026050
			public static UserLutModel.Settings defaultSettings
			{
				get
				{
					return new UserLutModel.Settings
					{
						lut = null,
						contribution = 1f
					};
				}
			}

			// Token: 0x04000720 RID: 1824
			[Tooltip("Custom lookup texture (strip format, e.g. 256x16).")]
			public Texture2D lut;

			// Token: 0x04000721 RID: 1825
			[Tooltip("Blending factor.")]
			[Range(0f, 1f)]
			public float contribution;
		}
	}
}
